package cn.mesmile.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zb
 * @date 2020/12/16 11:15
 * @Description
 */
@Data
@TableName("product")
public class Product {

    @TableId
    private Long id;

    private String name;

    private Long stock;

    private BigDecimal price;
}
